<template>
	<view class="user-info">
		<image class="avatar" src="../../static/logo.png"></image>
		<view class="username">{{username}}</view>
	</view>
</template>

<script setup>
defineProps(['username','avatar'])
</script>

<style lang="scss" scoped>
.user-info{
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 400rpx;
	background-color: #ccc;
	.avatar{
		width: 200rpx;
		height: 200rpx;
		border-radius: 50%;
	}
	.user-info{
		padding: 40rpx 0;
		font-size: 40rpx;
	}
	
}
</style>